﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RED_NET_Core.Entity
{
    public class AlbumClass
    {
        #region [Private member]

        private int _albumId;
        private int _albumOfUserId;
        private string _albumName;
        private string _albumContent;
        private string _albumUrl;
        private DateTime _albumAddTime;
        private DateTime _albumUpdateTime;

        #endregion

        #region [Properties Of Album]

        public int AlbumId
        {
            get { return _albumId; }
            set { _albumId = value; }
        }

        public int AlbumOfUserId
        {
            get { return _albumOfUserId; }
            set { _albumOfUserId = value; }
        }

        public string AlbumName
        {
            get { return _albumName; }
            set { _albumName = value; }
        }

        public string AlbumContent
        {
            get { return _albumContent; }
            set { _albumContent = value; }
        }

        public string AlbumUrl
        {
            get { return _albumUrl; }
            set { _albumUrl = value; }
        }

        public DateTime AlbumAddTime
        {
            get { return _albumAddTime; }
            set { _albumAddTime = value; }
        }

        public DateTime AlbumUpdateTime
        {
            get { return _albumUpdateTime; }
            set { _albumUpdateTime = value; }
        }

        #endregion

        #region [Construct Of Album]

        /// <summary>
        /// 空构造函数
        /// </summary>
        public AlbumClass() { }

        /// <summary>
        /// 完整的相册构造函数
        /// </summary>
        /// <param name="albumid"></param>
        /// <param name="albumofuserid"></param>
        /// <param name="albumname"></param>
        /// <param name="albumcontent"></param>
        /// <param name="albumurl"></param>
        /// <param name="albumaddtime"></param>
        /// <param name="albumupdatetime"></param>
        public AlbumClass(int albumid,int albumofuserid, string albumname,string albumcontent,string albumurl,
            DateTime albumaddtime,DateTime albumupdatetime)
        {
            AlbumId = albumid;
            AlbumOfUserId = albumofuserid;
            AlbumName = albumname;
            AlbumContent = albumcontent;
            AlbumUrl = albumurl;
            AlbumAddTime = albumaddtime;
            AlbumUpdateTime = albumupdatetime;
        }

        #endregion
    }
}
